#ifndef ADDITEMDIALOG_H
#define ADDITEMDIALOG_H

#include <QDialog>
#include <QButtonGroup>

namespace Ui {
class AddItemDialog;
}

class AddItemDialog : public QDialog
{
    Q_OBJECT
    
public:

    explicit AddItemDialog(const QList<int>& types, QWidget *parent = 0);
    ~AddItemDialog();

    QString name() const;
    int type() const;

    
private:
    Ui::AddItemDialog *ui;

    QList<int> m_types;

    QButtonGroup* m_buttons;
};

#endif // ADDITEMDIALOG_H
